package com.thb.pay.engine.request.impl;

import com.thb.pay.engine.request.RuleNode;

import java.io.Serializable;

/**
 * @类名称 BaseRuleNode
 * @类描述 <pre>抽象节点实现</pre>
 * @作者 lucky
 * @创建时间 2019/11/8
 * @版本 v1.01
 */
public abstract class BaseRuleNode<ID extends Serializable> implements RuleNode<ID> {
    protected ID nodeId;

    protected Integer level;

    @Override
    public ID getNodeId() {
        return nodeId;
    }

    public void setNodeId(ID nodeId) {
        this.nodeId = nodeId;
    }

    @Override
    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
}
